package classrecord;

import classrecord.classes.database.studenttelephonenumbertbl.STUDENTTELEPHONENUMBERTBLDao;
import classrecord.classes.database.studenttelephonenumbertbl.STUDENTTELEPHONENUMBERTBLDomain;

public class InsertIntoStudentTelephoneNumberTbl {
	
	public static void main(String[] args) {
		STUDENTTELEPHONENUMBERTBLDomain studenttelephonenumbertblDomain = new STUDENTTELEPHONENUMBERTBLDomain();
		studenttelephonenumbertblDomain.setStudentNumber("2005005333");
		studenttelephonenumbertblDomain.setTelephoneNumber("5330671");
		
		STUDENTTELEPHONENUMBERTBLDao studenttelephonenumbertblDao = new STUDENTTELEPHONENUMBERTBLDao();
		studenttelephonenumbertblDao.setStudenttelephonenumbertblDomain(studenttelephonenumbertblDomain);
		
		boolean wasInserted = studenttelephonenumbertblDao.add();
		System.out.println("wasInserted: " + wasInserted);
	}

}
